module sdldee.exception;

import std.string;
import sdldee.c.sdl;

enum Errorcode {
	NOMEM,
	FREAD,
	FWRITE,
	FSEEK,
	UNSUPPORTED,
	LASTERROR
}


class SdlException : Exception {
	this(char[] string) {
		super(string[] ~ "\n" ~ std.string.toString(SDL_GetError()));
	}
}
